import { ApiProperty } from '@nestjs/swagger';

export class MessageBoardDto {
  /**
   * 发布人id
   */
  userId: number;

  @ApiProperty({
    description: '留言内容',
    example: 'CTE-4',
  })
  content: string;
}
